
//
//  Status.swift
//  SinaWeibo
//
//  Created by 梁楠 on 16/1/18.
//  Copyright © 2016年 QQ主流框架. All rights reserved.
//

import UIKit

class Status: NSObject {
    
    //微博创建时间
    var created_at : String?
    
    //微博ID
    var id : Int64 = 0
    
    //微博信息内容
    var text : String?
    
    //微博来源
    var source : String?
    
    var user : User?
    
    
    init(dict : [String : AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
    
    override var description : String {
        
        get {
            let keys = ["created_at","id","text","source"]
            let dict = self.dictionaryWithValuesForKeys(keys)
            return dict.description
        }
    }
    
    

}
